﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace SuSPExtension
{
	// Token: 0x02000006 RID: 6
	public class SystemUtil
	{
		// Token: 0x0600000F RID: 15 RVA: 0x000025F4 File Offset: 0x000007F4
		public static Rect GetDeviceMainScreenResulution()
		{
			Rectangle bounds = Screen.PrimaryScreen.Bounds;
			return new Rect
			{
				posX = bounds.X,
				posY = bounds.Y,
				width = bounds.Width,
				height = bounds.Height
			};
		}

		// Token: 0x06000010 RID: 16 RVA: 0x00002648 File Offset: 0x00000848
		public static Position GetMousePostion()
		{
			Point mousePosition = Control.MousePosition;
			Position result;
			result.X = mousePosition.X;
			result.Y = mousePosition.Y;
			return result;
		}
	}
}
